using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using Workflows.Components;

namespace Workflows.Diagrams
{
    public abstract class TypeEditorBase : Form, ITypeEditor
    {
        private ActivityNode _ActivityNode;

        public ActivityNode ActivityNode
        {
            get { return _ActivityNode; }
            set { _ActivityNode = value; }
        }

        public void InitTypeEditor(ActivityNode activityNode)
        {
            this.ActivityNode = activityNode;
        }

        public abstract void DisplaySettings(WorkflowComponentBase wfComponent);

        public event WorkflowComponentSettingChanged WorkflowComponentSettingChangedEvent;
    }
}
